//
// Created by DengLibin on 2019/1/31 0031.
//

#ifndef WXWIDGETS_CONDITIONTHREAD_H
#define WXWIDGETS_CONDITIONTHREAD_H

#include <wx/thread.h>
#include <iostream>
using namespace std;
/**
 * 测试条件变量的线程
 */
class ConditionThread : public wxThread {
private:
    wxCondition * condition;
    wxMutex * mutex;
public:
    ConditionThread(wxCondition * condition, wxMutex * mutex);
    virtual void *  Entry() HAVE_OVERRIDE;
};


#endif //WXWIDGETS_CONDITIONTHREAD_H
